package cn.lizhangqu.kb.activity;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

import cn.lizhangqu.kb.R;

/**
 * @author 柯尊诚
 * @version 1.0
 * @date 创建时间：2016/1/28 10:56
 */
public class TextActivity extends Activity{



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.text);

        String data = getIntent().getStringExtra("text");

        TextView textView = (TextView)findViewById(R.id.text);
        textView.setText(data);
    }
}
